using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BO.Admin;
using BO;

namespace GUI
{
    public partial class Default : BO.Cache.PageBase
    {
        public string wedding, fashion, lifestyle = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            CacheName = "Default";
            BindData();
        }

        private void BindData()
        {
            Page.Title = PublicConstants.SINGLE_PAGE_TITLE;
            DataTable dt1 = Category_Helper.Get(1);
            DataTable dt2 = Category_Helper.Get(2);
            DataTable dt3 = Category_Helper.Get(3);
            wedding = Utils.BuidImageUrl(dt1.Rows[0]["Category_Icon"].ToString());
            fashion = Utils.BuidImageUrl(dt2.Rows[0]["Category_Icon"].ToString());
            lifestyle = Utils.BuidImageUrl(dt3.Rows[0]["Category_Icon"].ToString());
        }
    }
}
